home *** CD-ROM | disk | FTP | other *** search
/ TeX 1995 July / TeX CD-ROM July 1995 (Disc 1)(Walnut Creek)(1995).ISO / dviware / dvi2ps / wolcsko / makefile < prev    next >
Makefile  |  1990-10-01  |  1KB  |  59 lines

  1. # This makefile describes how to build dvi2ps 
  2. #
  3. # Local adaptions for BSD4.1
  4. #BSD4.1 = -DBSD4.1
  5. BSD4.1=
  6. # The following file and directory specifications may need changing at
  7. # your site:
  8. #
  9. # where are the bitmaps stored?
  10. PXLAREA=/usr/lib/tex/fonts/pk
  11. # 2nd is for the Linotron
  12. #
  13. # where are the tfm files stored?
  14. FONTAREA=/usr/lib/tex/fonts
  15. #
  16. # where is the header file to be found?
  17. HDRFILE=/usr/lib/tex/ps/tex.ps
  18. #
  19. #where are the tex->postscript font maps to be found?
  20. FONTMAP=TeXPSfonts.map
  21. #
  22. # where is the software to be installed
  23. BINAREA=/usr/common/appl/tex82/texbinaries
  24. #
  25. # an Apollo-specific spool file
  26. SPOOLFILE=/usr/spool/laserwriter/apollo
  27. #
  28. # the amount of virtual memory of the laserwriter (use -b option for Linotron)
  29. BUDGET=100000
  30. #
  31. # pxl or pk files?
  32. PXL=PK
  33.  
  34. CF = -O
  35. CFLAGS = -DFONTAREA=\"${FONTAREA}\" \
  36.          -DSPOOLFILE=\"${SPOOLFILE}\" ${BSD4.1} -D$(PXL) \
  37.      -DBUILTIN -DFONTMAP=\"${FONTMAP}\" ${CF} \
  38.      -DBUDGET=$(BUDGET) \
  39.      -DPXLAREA=\"$(PXLAREA)\" \
  40.      -DHDRFILE=\"$(HDRFILE)\"
  41.  
  42. all: dvi2ps tex.ps
  43.  
  44. dvi2ps:    dvi2ps.o findfile.o
  45.     cc ${CFLAGS} -o dvi2ps dvi2ps.o findfile.o
  46.  
  47. dvi2ps.o: dvi2ps.c commands.h
  48.     cc ${CFLAGS} -c -o dvi2ps.o dvi2ps.c
  49.  
  50. findfile.o: findfile.c findfile.h
  51.  
  52. tex.ps:    tex.pro
  53.     ./squeeze <tex.pro >tex.ps
  54.  
  55. install: all
  56.     install -s -m 755 dvi2ps ${BINAREA}/dvi2ps
  57.     cp tex.ps ${HDRFILE}
  58.  
  59.